package com.ktgj.other.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktgj.other.mapper.EtOrderRefundrecordMapper;
import com.ktgj.other.domain.EtOrderRefundrecord;
import com.ktgj.other.service.IEtOrderRefundrecordService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-07-22
 */
@Service
public class EtOrderRefundrecordServiceImpl implements IEtOrderRefundrecordService 
{
    @Autowired
    private EtOrderRefundrecordMapper etOrderRefundrecordMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param refundrecordsid 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public EtOrderRefundrecord selectEtOrderRefundrecordById(Long refundrecordsid)
    {
        return etOrderRefundrecordMapper.selectEtOrderRefundrecordById(refundrecordsid);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param etOrderRefundrecord 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<EtOrderRefundrecord> selectEtOrderRefundrecordList(EtOrderRefundrecord etOrderRefundrecord)
    {
        return etOrderRefundrecordMapper.selectEtOrderRefundrecordList(etOrderRefundrecord);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param etOrderRefundrecord 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertEtOrderRefundrecord(EtOrderRefundrecord etOrderRefundrecord)
    {
        return etOrderRefundrecordMapper.insertEtOrderRefundrecord(etOrderRefundrecord);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param etOrderRefundrecord 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateEtOrderRefundrecord(EtOrderRefundrecord etOrderRefundrecord)
    {
        return etOrderRefundrecordMapper.updateEtOrderRefundrecord(etOrderRefundrecord);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param refundrecordsids 需要删除的【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteEtOrderRefundrecordByIds(Long[] refundrecordsids)
    {
        return etOrderRefundrecordMapper.deleteEtOrderRefundrecordByIds(refundrecordsids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param refundrecordsid 【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteEtOrderRefundrecordById(Long refundrecordsid)
    {
        return etOrderRefundrecordMapper.deleteEtOrderRefundrecordById(refundrecordsid);
    }
}
